home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
mytelix.zip
/
Old Files I
/
TELIX
/
OLDTEL.ZIP
/
DOOR.MOD
< prev
next >
Wrap
Text File
|
1993-05-31
|
3KB
|
132 lines
R
Sub : WWIV MODNET
64/99: Drop FIle
Name: The Omnipotent #295 @7661
Date: Thu May 13 16:47:22 1993
From: The Keep of Ultimate Evil [FIS] WWIVnet (Upstate New York) [716-884-4636]
┌────────────────────────────────────────────────────────────────────────────┐
│ Mod Name : OMNI02.MOD Mod Author: The Omnipotent 1@17658 DreamNET │
│ Difficulty : ██▒▒▒▒▒▒▒▒▒ need to add 1 thing yourself 1@7686 DragonNET│
│ WWIV Version : 4.22 │
│ Mod Date : 05/12/93 │
│ Files Affected: LILO.C,EXTRN.C,FCNS.H │
│ Description : Creates DORINFO1.DEF Chain File needed for many on-line │
│ games │
└────────────────────────────────────────────────────────────────────────────┘
Step 1:
Back up your source.....Of course you already knew that...
Step 2:
Figure out which COM port you are using.
Step 3:
Load EXTRN.C and add this at the very end:
/*Begin Block Copy*/
char *create_chain_file_2(char *fn)
{
int i,i1;
char s[81],s1[81],gd[81],dd[81];
static char fpn[81];
long l,l1;
FILE *f;
cd_to(syscfg.gfilesdir);
get_dir(gd,1);
cd_to(cdir);
cd_to(syscfg.datadir);
get_dir(dd,1);
cd_to(cdir);
sl1(3,s);
l=(long) (timeon);
if (l<0)
l += 3600*24;
l1=(long) (timer()-timeon);
if (l1<0)
l1 += 3600*24;
unlink(fn);
f=fopen(fn,"wt");
if (f) { /* \/ insert COM port # here, in place of the space*/
fprintf(f,"%s\n%s\n\nCOM \n",syscfg.systemname,syscfg.sysopname);
if (using_modem)
fprintf(f,"%u ",modem_speed);
else
fprintf(f,"KB ");
fprintf(f,"BAUD,%s\n%d\n%s\n\n\n%d\n%d\n30\n",
(andwith==0x7f)?"E,7,1":"N,8,1",incom,thisuser.name,
usernum,thisuser.sl);
fclose(f);
}
get_dir(fpn,1);
strcat(fpn,fn);
return(fpn);
}
/* End BLock Copy */
*Note: Put in your COM port where indicated
Step 4:
Save & Close that file.
Step 5:
Open LILO.C and search for:
if (live_user)
topscreen();
if ((syscfg.logon_c[0]) && live_user) {
nl();
stuff_in(s,syscfg.logon_c,create_chain_file("CHAIN.TXT"),"","","","");
create_chain_file_2("DORINFO1.DEF"); /*ADD THIS LINE*/
full_external(s,0,1);
nl();
nl();
}
Now search down a little further until you find :
if (restrict_vote & thisuser.restrict)
i1=0;
if (actsl<=10)
i1=0;
if (i1 && live_user) {
nl();
prt(3,get_string(378));
nl();
nl();
}
save_status();
create_chain_file("CHAIN.TXT");
create_chain_file_2("DORINFO1.DEF"); /*ADD THIS LINE*/
Step 6:
Save & close LILO.C. Open FCNS.H and at the end of the declarations of
EXTRN.C add this:
char *create_chain_file_2(char *fn);
Step 7:
Save FCNS.H.
Step 8:
Sit back and compile...
Disclaimer: I take no responsibilites for any screwy stuff that happens. You
put the Mod in not me...
L8er
The Omnipotent
1@17658 DreamNET
1@7686 DragonNET
[WWIV MODNET] Read:(1-99,^64) :